package com.shuo.xhlc.零钱通;

import java.util.Scanner;

public class LQT {
    public static void main(String[] args) {
        Boolean bl = true;
        Scanner scanner = new Scanner(System.in);
        String key = "";
        do {
            System.out.println("==========零钱通菜单=========");
            System.out.println("1.零钱通明细");
            System.out.println("2.收益入账");
            System.out.println("3.消费");
            System.out.println("4.退出");
            System.out.println("请选择1-4");

            key = scanner.next();
            switch (key){
                case "1":
                    System.out.println("1.零钱通明细");
                    break;
                case "2":
                    System.out.println("2.收益入账");
                    break;
                case "3":
                    System.out.println("3.消费");
                    break;
                case "4":
                    System.out.println("4.退出");
                    bl = false;
                    break;

            }
        }while (bl);
    }
}
